  def decorate(func):
      @wraps(func)
      def wrapper(*args, **kwargs):
          start = time()
          result = func(*args, **kwargs)
          output(func.__name__, time() - start)
          return result
      return wrapper
  return decorate